package com.lyb;

import com.lyb.service.UserService;
import com.spring.LybApplicationContext;

/**
 * @author Sobremesa
 * @version 1.0.0
 * @ClassName Test.java
 * @Description TODO
 * @createTime 2021年08月16日 11:23:00
 */
public class Test {
    public static void main(String[] args) {
        LybApplicationContext applicationContext = new LybApplicationContext(Appconfig.class);

        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.test();
    }
}
